#encoding:utf8
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
from django.views.generic.simple import direct_to_template
import settings
# Uncomment the next two lines to enable the admin:
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'project_template.views.home', name='home'),
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    (r'^$',direct_to_template,{'template':'web/home.html'}),
    url(r'^static/(?P<path>.*)$','django.views.static.serve',{'document_root':settings.STATIC_ROOT}),
)
